package org.iabako.shared.entity.enumeration;

import org.iabako.client.tools.Messages;

/**
 * Created by jose on 12/02/15.
 */
public enum ConversationStatus implements LabelEnum {

    //alphabetical er is important here for order by SQL function in ConversationTable in ClientForm
    outgoing("conversation_status_outgoing"),
    done("conversation_status_done");

    String labelKey;

    ConversationStatus(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }

    public String getLabelKey() {
        return labelKey;
    }
}
